package com.xqboss.apps.dto.order;

import com.xqboss.apps.enums.order.RefundStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.math.BigDecimal;

/**
 * <p>
 *     处理退单请求
 * </p>
 * @author Trent
 * @date 2023/9/7
 */
@Data
@ApiModel
public class HandlerRefundDto {

    @ApiModelProperty("退单ID")
    @NotNull(message = "请输入退单ID")
    private Long id;

    @ApiModelProperty("退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty("退款原因")
    private String handlerRemarks;

    @ApiModelProperty("处理状态，不能为待审核状态")
    @NotNull(message = "请选择退款状态")
    private RefundStatusEnum status;
}
